import request from '@/utils/request'

export function getResumebyToken() {
  return request({
    url: '/resume/auth',
    method: 'get'
  })
}

export function getResumebyId(id) {
  return request({
    url: '/resume/id',
    method: 'get',
    params: { id }
  })
}

export function updateResume(data) {
  return request({
    url: '/resume/update',
    method: 'post',
    data
  })
}
